<!--
 * @Author: Freude Xu
 * @Date: 2021-09-23 11:55:07
 * @LastEditors: Freude Xu
 * @LastEditTime: 2021-09-23 11:58:43
 * @Description: 
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>map</title>
    <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=972811d84f30f8e6f429f62d797c4e4b">
    </script>
</head>

<body>
    <!-- 创建地图容器 -->
    <div id="container" style="height:400px;width:400px"></div>
    <script>
        // 创建地图实例对象
        var map = new AMap.Map('container', {
            zoom: 11, //级别
            center: [116.397428, 39.90923], //中心点坐标
            viewMode: '3D' //使用3D视图
        });
    </script>
</body>

</html>